﻿<!DOCTYPE html>
<html>
<head>
<title></title>

<style type="text/css">
#target{width:100px;height:100px;background:#369;}
</style>

<script src="animation.js" type="text/javascript"></script>

</head>
<body>

<div id="target"></div>

<script type="text/javascript">
var target = document.getElementById("target");

var animation = new Animation(target);
animation.duration = 1000;

animation.run({width: 500});
</script>

</body>
</html>
